//
//  ViewController.m
//  aTest
//
//  Created by pro on 16/5/16.
//  Copyright © 2016年 LeeDan. All rights reserved.
//

#import "ViewController.h"
#import "Person.h"

@interface ViewController ()

@property (strong, nonatomic) NSArray *dataList;

@property (assign, nonatomic) NSInteger index;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    Person *p = [[Person alloc] init];
    Person *p2 = [[Person alloc] init];
}

- (NSArray *)dataList {
    if (_dataList == nil) {
        _dataList = @[@"qq", @"ww", @"hh"];
    }
    
    return _dataList;
}

@end
